from django.urls import path

from . import views


urlpatterns = [
    path('', views.show_dashboard, name='dashboard'),
    path('login/', views.AuthorizationPage.as_view(), name='login'),
    path('logout/', views.LogoutPage.as_view(), name='logout'),
    path('password_change/', views.PasswordChangePage.as_view(), name='password_change'),
    path('password_change/done/', views.PasswordChangeDonePage.as_view(), name='password_change_done'),
    path('password_reset/', views.PasswordResetCustomView.as_view(), name='password_reset'),
    path('password_reset/done/', views.PasswordResetDoneCustomView.as_view(), name='password_reset_done'),
    path('reset/<uidb64>/<token>/', views.PasswordResetConfirmCustomView.as_view(), name='password_reset_confirm'),
    path('reset/done/', views.PasswordResetCompleteCustomView.as_view(), name='password_reset_complete'),
    path('register/', views.RegistrationPage.as_view(), name='registration'),
    path('edit/', views.edit, name='user_edit'),
]
